package org.itboys.seller.entity;

import org.itboys.mongodb.entity.BaseLongIdEntity;
import org.itboys.seller.constant.SellerConstants;
import org.mongodb.morphia.annotations.Entity;

import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2016/8/6.
 * 下级提供积分记录
 */
@Entity(value = "SubManProvider", noClassnameStored = true)
public class SubManProviderDB extends BaseLongIdEntity {

    private long fromUserId;

    private long toUserId;

    private int score;

    private int isDeleted = SellerConstants.TYPE_ZERO;

    public long getFromUserId() {
        return fromUserId;
    }

    public void setFromUserId(long fromUserId) {
        this.fromUserId = fromUserId;
    }

    public long getToUserId() {
        return toUserId;
    }

    public void setToUserId(long toUserId) {
        this.toUserId = toUserId;
    }

    public int getScore() {
        return score;
    }

    public void setScore(int score) {
        this.score = score;
    }

    public int getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(int isDeleted) {
        this.isDeleted = isDeleted;
    }
}
